package com.jk.mapper;

import com.jk.entity.TUser;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by XSJ on 2017/12/19.
 */
public interface UserMapper {

    @Select("select * from crm_pp")
    @Results({@Result(property = "ppid",column = "ppid"),
            @Result(property = "ppname",column = "ppname")})
    List<TUser> sayHellow();
}
